package com.it.enity;

import java.io.Serializable;

/**
 * @author zhangyan
 * @version 1.0
 * @date 2019/7/10 12:58
 */


public class result<T> implements Serializable {

    private Integer code;

    private String message;


    public result(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public result() {
        this.code=0;
        this.message="执行成功";
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
